.class public Lcom/estrongs/android/pop/app/editor/ObservableScrollView;
.super Landroid/widget/ScrollView;
.source "ObservableScrollView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

.field private b:Ljava/lang/Runnable;

.field private c:I

.field private d:I

.field private e:Ljava/lang/Object;

.field private f:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;)V

    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    const/16 p1, 0x1f4

    .line 3
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d:I

    .line 4
    new-instance p1, Ljava/lang/Object;

    invoke-direct {p1}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e:Ljava/lang/Object;

    const/4 p1, 0x0

    .line 5
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 11
    invoke-direct {p0, p1, p2}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const/4 p1, 0x0

    .line 12
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    const/16 p1, 0x1f4

    .line 13
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d:I

    .line 14
    new-instance p1, Ljava/lang/Object;

    invoke-direct {p1}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e:Ljava/lang/Object;

    const/4 p1, 0x0

    .line 15
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    .line 16
    new-instance p1, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;

    invoke-direct {p1, p0}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$a;-><init>(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->b:Ljava/lang/Runnable;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 6
    invoke-direct {p0, p1, p2, p3}, Landroid/widget/ScrollView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const/4 p1, 0x0

    .line 7
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    const/16 p1, 0x1f4

    .line 8
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d:I

    .line 9
    new-instance p1, Ljava/lang/Object;

    invoke-direct {p1}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e:Ljava/lang/Object;

    const/4 p1, 0x0

    .line 10
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->c:I

    return p1
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Ljava/lang/Object;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e:Ljava/lang/Object;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->c:I

    return p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)Ljava/lang/Runnable;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->b:Ljava/lang/Runnable;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d:I

    return p0
.end method


# virtual methods
.method public a()V
    .locals 4

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->e:Ljava/lang/Object;

    monitor-enter v0

    .line 5
    :try_start_0
    iget-boolean v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    if-nez v1, :cond_0

    .line 6
    invoke-virtual {p0}, Landroid/widget/ScrollView;->getScrollY()I

    move-result v1

    iput v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->c:I

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->b:Ljava/lang/Runnable;

    iget v2, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->d:I

    int-to-long v2, v2

    invoke-virtual {p0, v1, v2, v3}, Landroid/widget/ScrollView;->postDelayed(Ljava/lang/Runnable;J)Z

    const/4 v1, 0x1

    .line 8
    iput-boolean v1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->f:Z

    .line 9
    :cond_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 0

    .line 1
    :try_start_0
    invoke-super {p0, p1}, Landroid/widget/ScrollView;->onInterceptTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    const/4 p1, 0x0

    return p1
.end method

.method protected onScrollChanged(IIII)V
    .locals 6

    .line 1
    invoke-super {p0, p1, p2, p3, p4}, Landroid/widget/ScrollView;->onScrollChanged(IIII)V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    if-eqz v0, :cond_0

    move-object v1, p0

    move v2, p1

    move v3, p2

    move v4, p3

    move v5, p4

    .line 3
    invoke-interface/range {v0 .. v5}, Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;->a(Lcom/estrongs/android/pop/app/editor/ObservableScrollView;IIII)V

    :cond_0
    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 0

    .line 1
    :try_start_0
    invoke-super {p0, p1}, Landroid/widget/ScrollView;->onTouchEvent(Landroid/view/MotionEvent;)Z

    move-result p1
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    const/4 p1, 0x0

    return p1
.end method

.method public setScrollViewListener(Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/editor/ObservableScrollView;->a:Lcom/estrongs/android/pop/app/editor/ObservableScrollView$b;

    return-void
.end method
